/**
 * Copyright (c) 2023 myons Inc. All rights reserved.
 */
package com.macro.mall.common.exception;

import lombok.Getter;

/**
 * @author dmzmwh
 * @date 2018-11-23
 * 统一异常处理
 */
@Getter
public class RRException extends RuntimeException{

    private Long status = 9999L;

    public RRException(String msg){
        super(msg);
    }

    public RRException(long status, String msg){
        super(msg);
        this.status = status;
    }

}
